package cn.deepmax.spring.cloud.system.sale.entity;

import cn.deepmax.spring.cloud.common.data.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Table;

@Getter
@Setter
@Entity
@Table(name = "\"order\"", schema = "sale_system")
public class Order extends BaseEntity<Long> {
    private Long userId;
    private Long price;
    private String description;
    private Long productId;
    private Integer quantity;
}
